package org.jsbd.boss.dao.impl;

import java.util.List;

import org.jsbd.boss.dao.IMiguUserMonitorDAO;
import org.jsbd.boss.domian.statistics.MiguUserExecuteDTO;
import org.jsbd.boss.domian.statistics.MiguUserMonitorVO;
import org.jsbd.boss.domian.statistics.MiguUserStatisticsDTO;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Repository;

/**
 * @author <a href="mailto:wangjunbiao@zhexinit.com" >王俊标</a>
 * @version 1.0.0
 */
@Repository("miguUserMonitorDAO")
public class MiguUserMonitorDAOImpl extends StatisticsBaseDao implements IMiguUserMonitorDAO {

	public static final Logger LOGGER = LoggerFactory.getLogger(MiguUserMonitorDAOImpl.class);
	
	@Override
	public List<MiguUserStatisticsDTO> findMiguUserStatisticsInfo(MiguUserMonitorVO mumVO) {
		return super.queryForList("qy_channel_migu_user_execute_statistics.SELECT_MIGU_USER_STATISTICS_INFO", mumVO);
	}

	@Override
	public List<MiguUserStatisticsDTO> findMiguUserDayStatisticsInfo(MiguUserMonitorVO mumVO) {
		return super.queryForList("qy_channel_migu_user_execute_statistics.SELECT_MIGU_USER_DAY_STATISTICS_INFO", mumVO);
	}

	@Override
	public List<String> findMiguUserDayBaseInfo(MiguUserMonitorVO mumVO) {
		return super.queryForList("qy_channel_migu_user_execute_statistics.SELECT_MIGU_USER_DAY_BASE_INFO", mumVO);
	}

	@Override
	public List<String> findMiguUserDayTimeInfo(MiguUserMonitorVO mumVO) {
		return super.queryForList("qy_channel_migu_user_execute_statistics.SELECT_MIGU_USER_DAY_TIME_INFO", mumVO);
	}

	@Override
	public List<String> selectExecuteXAxis(MiguUserMonitorVO mumVO) {
		return super.queryForList("qy_channel_migu_user_execute_statistics.SELECT_EXECUTE_X_AXIS", mumVO);
	}

	@Override
	public List<MiguUserExecuteDTO> selectExecuteYAxis1(MiguUserMonitorVO mumVO) {
		return super.queryForList("qy_channel_migu_user_execute_statistics.SELECT_EXECUTE_Y_AXIS1", mumVO);
	}
	
	@Override
	public List<MiguUserExecuteDTO> selectExecuteYAxis2(MiguUserMonitorVO mumVO) {
		return super.queryForList("qy_channel_migu_user_execute_statistics.SELECT_EXECUTE_Y_AXIS2", mumVO);
	}
	
	@Override
	public List<MiguUserExecuteDTO> selectExecuteYAxis3(MiguUserMonitorVO mumVO) {
		return super.queryForList("qy_channel_migu_user_execute_statistics.SELECT_EXECUTE_Y_AXIS3", mumVO);
	}
	
	@Override
	public List<String> selectDays(MiguUserMonitorVO mumVO) {
		return super.queryForList("qy_channel_migu_user_execute_statistics.SELECT_DAYS", mumVO);
	}

	@Override
	public List<Integer> selectRecords(MiguUserMonitorVO mumVO) {
		return super.queryForList("qy_channel_migu_user_execute_statistics.SELECT_RECORDS", mumVO);
	}

	@Override
	public List<MiguUserStatisticsDTO> selectResidue(String date) {
		return super.queryForList("qy_channel_migu_user_execute_statistics.SELECT_RESIDUE", date);
	}

}
